//
//  XYRockerView.h
//  FECCView
//
//  Created by 杨旭东 on 2017/9/11.
//  Copyright © 2017年 JackYang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XYRockerPointView.h"
#import "XYRobotRockerPointView.h"

typedef NS_ENUM(NSInteger, XYRockerViewType) {
    XYRockerViewType_Normal,
    XYRockerViewType_Robot
};

@interface XYRockerView : UIView

+ (XYRockerView *(^)(CGPoint, XYRockerViewType))addXYRocker;

- (void)rockerResult:(void (^)(XYRockerDirection direction, BOOL step))result;

- (XYRockerView *(^)(XYRockerTrackType))trackMode;

@end
